package org.jeecg.modules.teacher.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 教师信息表
 * @Author: jeecg-boot
 * @Date:   2020-11-05
 * @Version: V1.0
 */
@Data
@TableName("astu_teacher")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="astu_teacher对象", description="教师信息表")
public class AstuTeacher implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**教师工号*/
	@Excel(name = "教师工号", width = 15)
    @ApiModelProperty(value = "教师工号")
    private String teacherNumber;
	/**教师名称*/
	@Excel(name = "教师名称", width = 15)
    @ApiModelProperty(value = "教师名称")
    private String teacherName;
	/**教师性别*/
	@Excel(name = "教师性别", width = 15)
    @ApiModelProperty(value = "教师性别")
    private String teacherSex;
	/**用户id*/
//	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**教师职位（称号）*/
	@Excel(name = "教师职位（称号）", width = 15)
    @ApiModelProperty(value = "教师职位（称号）")
    private String teacherTitle;
	/**教师面貌*/
	@Excel(name = "教师面貌", width = 15)
    @ApiModelProperty(value = "教师面貌")
    private String teacherIandscape;
	/**教师族别*/
	@Excel(name = "教师族别", width = 15)
    @ApiModelProperty(value = "教师族别")
    private String teacherEthnic;
	/**教师身份证账号*/
	@Excel(name = "教师身份证号", width = 15)
    @ApiModelProperty(value = "教师身份证号")
    private String teacherIdCardNumber;
}
